package com.neuedu.it.teach.service;


import com.neuedu.it.teach.controller.vo.OrderDetailVO;
import com.neuedu.it.teach.entity.OrderStatus;

import java.util.List;

public interface OrderService {
    OrderStatus createOrder(OrderStatus order);
    List<OrderStatus> getAllOrders();
    List<OrderDetailVO> getOrdersByUser(Integer teacherId, Integer helpId, Integer userId);

    OrderStatus updateTeacherConfirmed(Integer orderId);
    OrderStatus updateParentConfirmed(Integer orderId);
    int deleteOrderById(int orderId);
}
